#include "Math.h"

int Errno = 0;

int add(int left, int right)
{
    return left + right;
}

int sub(int left, int right)
{
    return left - right;
}

int mul(int left, int right)
{
    return left * right;
}

int div(int left, int right)
{
    if (right == 0)
    {
        Errno = 1;
        return -1;
    }
    return left / right;
}

